﻿<UserControl x:Class="BlendPluginManager.PluginsList"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"             
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <UserControl.Resources>
        <DataTemplate x:Key="AvailableAddInsTemplate">
	
        		<Grid Width="Auto" Height="Auto">
        			<Grid.ColumnDefinitions>
        				<ColumnDefinition Width="0.25*"/>
        				<ColumnDefinition Width="0.25*"/>
        				<ColumnDefinition Width="0.25*"/>
        				<ColumnDefinition Width="0.25*"/>
        			</Grid.ColumnDefinitions>
        			<TextBlock HorizontalAlignment="Stretch" Margin="4,4,4,4" x:Name="Name" VerticalAlignment="Stretch" Text="{Binding Path=Name, ElementName={x:Null}, Mode=Default}" TextWrapping="Wrap" Grid.ColumnSpan="1" Foreground="#FFFFFFFF"/>
        			<TextBlock HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Text="{Binding Path=Description, ElementName={x:Null}, Mode=Default}" TextWrapping="Wrap" Margin="4,4,4,4" x:Name="Description" Grid.Column="1" Grid.ColumnSpan="1" Foreground="#FFFFFFFF"/>
        			<TextBlock HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Text="{Binding Path=Vendor, ElementName={x:Null}, Mode=Default}" TextWrapping="Wrap" Margin="4,4,4,4" x:Name="Vendor" Grid.Column="2" Grid.ColumnSpan="1" Foreground="#FFFFFFFF"/>
        			<TextBlock HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Text="{Binding Path=Category, ElementName={x:Null}, Mode=Default}" TextWrapping="Wrap" Margin="4,4,4,4" x:Name="Category" Grid.Column="3" Grid.ColumnSpan="1" Foreground="#FFFFFFFF"/>                
        		</Grid>
        </DataTemplate>
        
  
    </UserControl.Resources>
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>
            <RowDefinition Height="46"/>
        </Grid.RowDefinitions>
        <ListBox Name="AvailablePlugins" 
                  ItemTemplate="{DynamicResource AvailableAddInsTemplate}" 
                  HorizontalContentAlignment="Stretch" 
                  VerticalContentAlignment="Top"
                  SelectionMode="Single" IsEnabled="True" 
                  Margin="0,0,0,0" Grid.RowSpan="1" />
        <Button Grid.Row="1" Name="RescanButton" Margin="12,9,0,12" IsEnabled="False" Width="75" HorizontalAlignment="Left">Rescan</Button>
    </Grid>
</UserControl>
